import pandas as pd
import pylab as plt
import plot_map
from detect_dp import dp
from detect_segment import traj_segment

bounds = [121.92,30.15,122.15,30.30]
plot_map.plot_map(plt,bounds,zoom = 12,style = 3)
fig = plt.figure(1,(10,8),dpi = 400)
path = r'D:\workspace\data\csv\sep_all.csv'
data = pd.read_csv(path)
data1 = traj_segment(data)
data2 = dp(data)
lon = data2["longitude"]
lat = data2["latitude"]
plt.scatter(lon,lat,0.1)
plt.show()
